﻿namespace ufida.u9.ait.openapi
{
	using global::ufida.u9.ait.openapi.utils;
	using System;
	using System.Collections.Generic;
	using System.Text;
	using ufida.u9.ait.openapi.utils;
	using UFIDA.U9.AP.Payment;
	using UFIDA.U9.Base;
	using UFIDA.U9.Base.Currency;
	using UFIDA.U9.Base.Organization;
	using UFIDA.U9.CBO.FI.BankAccount;
	using UFIDA.U9.CBO.FI.Enums;
	using UFIDA.U9.CBO.FI.IncExpItem;
	using UFIDA.U9.CBO.FI.SettlementMethod;
	using UFIDA.U9.CBO.HR.Department;
	using UFIDA.U9.CBO.HR.Operator;
	using UFIDA.U9.CBO.Pub.Controller;
	using UFIDA.U9.CBO.SCM.Supplier;
	using UFIDA.U9.PM.Rcv;
	using UFSoft.UBF.AopFrame;
	using UFSoft.UBF.Business;
	using UFSoft.UBF.Util.Context;

	/// <summary>
	/// PayBillSaveSV partial 
	/// </summary>	
	public partial class PayBillSaveSV 
	{	
		internal BaseStrategy Select()
		{
			return new PayBillSaveSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class PayBillSaveSVImpementStrategy : BaseStrategy
	{
		public PayBillSaveSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			PayBillSaveSV bpObj = (PayBillSaveSV)obj;

			return CodeUtils.DocSaveRT(bpObj, bpObj.Data, PayBillBase.CreateDoc, PayBillBase.ApproveDoc);
		}

    }

	#endregion
	
	
}